package android.slc.box.core.ui;

import android.slc.box.core.launcher.EmbeddedWindowLauncher;
import android.slc.box.core.launcher.EmbeddedWindowLauncherImpl;
import javafx.stage.Window;

public class BaseEmbeddedWindowView<VM extends BaseEmbeddedWindowViewModel> extends BaseView<VM, EmbeddedWindowLauncher, Window> implements EmbeddedWindowLauncher {

    @Override
    protected EmbeddedWindowLauncher setWindowLauncher() {
        return new EmbeddedWindowLauncherImpl(
                this.getViewModel().getStageScope(),
                this.getViewModel().getIntentScope().getStylesheets(),
                this.getViewModel().getIntentScope().getBundle()
        );
    }

}
